import { checkStr } from "./function/regexp.js";
import { formatDate } from "./function/date-time.js";
import { riseSort, bubbleSort } from "./function/deal-array.js";
import {
  matcheParentsEl,
  getElementSize,
  getScrollOffset,
  findParents,
  getViewportSize,
} from "./function/element.js";
import {
  isEmptyArray,
  isEmptyString,
  isEmptyObject,
  isEmptyNumber,
  isEmpty,
} from "./function/judge-empty.js";
import {
  deepClone,
  randomNum,
  numFilter,
  computeTime,
  isDevice,
  isWx,
  imgLoadAll,
  downloadBaseFile,
  debounce,
  throttle,
} from "./function/other.js";
import { getStartEndTime } from "./function/timeStamp.js";
import { typeJudge } from "./function/judge-type";
import { getParamsByUrl } from "./function/url.js";
import { store, cookie } from "./function/localstorage.js";

export {
  checkStr,
  formatDate,
  riseSort,
  bubbleSort,
  matcheParentsEl,
  getElementSize,
  getScrollOffset,
  findParents,
  getViewportSize,
  isEmptyArray,
  isEmptyString,
  isEmptyObject,
  isEmptyNumber,
  isEmpty,
  deepClone,
  randomNum,
  numFilter,
  computeTime,
  isDevice,
  isWx,
  imgLoadAll,
  downloadBaseFile,
  debounce,
  throttle,
  getStartEndTime,
  typeJudge,
  getParamsByUrl,
  store,
  cookie,
};
